#include<iostream>
#include<cstdio>
using namespace std;
int main(){
    int n;
   cin>>n;
    if(n>=10)cout<<"Danger++"<<endl;
    else if(n>=4)cout<<"Danger"<<endl;
    else cout<<"Good"<<endl;
    return 0;
}
